package com.wuyoucar.service;

import com.wuyoucar.common.ResultBean;
import com.wuyoucar.entity.TUserinfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: jiangdz
 * @ProjectName: mywuyou_car
 * @Package: com.wuyoucar.service
 * @ClassName: InMailservice
 * @Description:
 * @Date: 2020-09-23  16:40
 * @UpdateUser: asus
 * @UpdateDate: 2020-09-23  16:40
 * @UpdateRemark: [说明本次修改内容]
 * @Version: [v1.0]
 * @Since JDK 1.8
 */
public interface InMailservice {
    //生成验证码
    ResultBean getCode(String to);

    //绑定邮箱
    ResultBean udateMail(String to ,String code,int userid);

    //根据userid 查询userinfo
    TUserinfo selectUserinfoByuserid(Integer userid);

    //理赔次数加1
    ResultBean addPaytime(Integer userid, Integer paytime);

}
